package com.etb.wisdom.eframe.model;

import javax.persistence.Entity;

import com.etb.core.annotation.Delete;
import com.etb.core.annotation.Delete.Type;
import com.etb.core.pojo.DataObject;


@Entity
public class EtbUser extends DataObject {
	
	private String username;

	@Delete(deleteClass=OrgEmployee.class, cascadeField="userid", type=Type.delete)
	private String loginname;
	
	private String password;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
